@charset "utf-8";

/* 整个滚动条 */
/* 整个滚动条 */
::-webkit-scrollbar {
    width: 4px; /* 滚动条的宽度 */
    height: 4px;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* 轨道的颜色 */
}

/* 滚动条上的滑块 */
::-webkit-scrollbar-thumb {
    background: #ccc; /* 滑块的颜色 */
    border-radius: 10px; /* 滑块的圆角 */
}

/* 滑块在鼠标悬停时的颜色 */
::-webkit-scrollbar-thumb:hover {
    background: #BCBCBC; /* 滑块鼠标悬停时的颜色 */
}

* {
    margin: 0px;
    padding: 0px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
    text-decoration: none;
}

html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    width: 100%;
    min-height: 100%;
    background: #f1f1f1;
    /*background: #fff;*/
}

.x-red {
    color: red;
}

.common-btn-block {
    margin-top: 10px;
    margin-bottom: 10px;
}

.layui-input:focus, .layui-textarea:focus {
    border-color: #189f92 !important;
}

.layadmin-setTheme-header {
    background-color: #fff
}

.layui-form-item .layui-footer {
    text-align: center;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 990;
    height: 54px;
    line-height: 54px;
    padding: 0 15px;
    box-shadow: -1px 0 4px rgb(0 0 0 / 12%);
    background-color: #fafafa;
    left: 0;
}

.layui-tab-admin .layui-tab-title {
    background-color: #393d49;
    color: #fff
}

.layui-fluid {
    height: 100%;
    box-sizing: border-box;
}

.x-nav {
    padding: 0 20px;
    position: relative;
    z-index: 99;
    border-bottom: 1px solid #e5e5e5;
    line-height: 39px;
    height: 39px;
    overflow: hidden;
    background: #fff;
}

.page {
    text-align: center;

}

.page a {
    display: inline-block;
    background: #fff;
    color: #888;
    padding: 5px;
    min-width: 15px;
    border: 1px solid #E2E2E2;

}

.page span {
    display: inline-block;
    padding: 5px;
    min-width: 15px;
    border: 1px solid #E2E2E2;
}

.page span.current {
    display: inline-block;
    background: #009688;
    color: #fff;
    padding: 5px;
    min-width: 15px;
    border: 1px solid #009688;
}

.page .pagination li {
    display: inline-block;
    margin-right: 5px;
    text-align: center;
}

.page .pagination li.active span {
    background: #009688;
    color: #fff;
    border: 1px solid #009688;

}


.x-admin-carousel, .layui-carousel, .x-admin-carousel > [carousel-item] > * {
    background-color: #fff
}

.x-admin-backlog .x-admin-backlog-body {
    display: block;
    padding: 10px 15px;
    background-color: #f8f8f8;
    color: #999;
    border-radius: 2px;
    transition: all .3s;
    -webkit-transition: all .3s
}

.x-admin-backlog-body h3 {
    padding-bottom: 10px;
    font-size: 12px
}

.x-admin-backlog-body p cite {
    font-style: normal;
    font-size: 30px;
    font-weight: 300;
    color: #009688
}

.x-admin-backlog-body:hover {
    background-color: #CFCFCF;
    color: #888
}

table th, table td {
    word-break: break-all;
}

/*404页面样式*/
.fly-panel {
    margin-bottom: 15px;
    border-radius: 2px;
    /*background-color: #fff;*/
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}

.fly-none {
    min-height: 600px;
    text-align: center;
    padding-top: 50px;
    color: #999;
}

.fly-none .layui-icon {
    line-height: 300px;
    font-size: 300px;
    color: #393D49;
}

.fly-none p {
    margin-top: 50px;
    padding: 0 15px;
    font-size: 20px;
    color: #999;
    font-weight: 300;
}

#tab_right {
    display: none;
    width: 80px;
    position: absolute;
    top: 35px;
    left: 0px;
}

#tab_right dl {
    top: 0px;
}

@media screen and (max-width: 768px) {
    .fast-add {
        display: none;
    }

    .layui-nav .to-index {
        display: none;
    }

    .container .logo a {
        width: 140px;
    }

    .container .left_open {
        /*float: right;*/
    }

    .left-nav {
        width: 60px;
    }

    .side-nav {
        width: 60px;
    }

    .left-nav #nav li a i {
        font-size: 18px;
    }

    .left-nav cite, .left-nav .nav_right {
        display: none;
    }

    .page-content {
        left: 60px;
    }

    .page-content .ayui-tabs-body .layui-tabs-item {
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;
    }

    .x-so input.layui-input {
        width: 100%;
        margin: 10px;
    }
}


.layui-btn-primary:hover {
    border-color: #16baaa;
    color: #333
}

.layui-div-body {
    min-height: calc(100vh - 10px);
    display: flex;
    flex-direction: column
}

.layui-div-body .layui-div-table {
    flex: 1;
    background: #ffffff;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 5px 15px 0 15px;
    display: flex;
    flex-direction: column
}

.layui-div-body .layui-div-edit {
    /* flex: 1; */
    background: #ffffff;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 15px 15px 0 15px;
    display: flex;
    flex-direction: column
}
.layui-div-body .layui-card-body {
    padding:10px 15px 0 15px;
}
.layui-div-body .layui-card {
     margin-bottom:0 !important;
}
.layui-div-body .layui-div-card {
    /* flex: 1; */
    background: #ffffff;
    display: flex;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    flex-direction: column
}

.layui-div-card .layui-inline {
    margin-right: 25px;
}
.layui-table-cell {
    height: 38px;
    line-height: 28px;
    padding: 6px 6px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.layui-btn + .layui-btn {
    margin-left: 6px;
}

.searchForm .layui-btn-sm {
    height: 38px;
    line-height: 38px;
}

.layui-breadcrumb a {
    font-size: 12px;
}

.mt10 {
    margin-top: 10px;
}
.layui-label-title {
    width: 110px;
    padding: 8px 15px;
    height: 38px;
    line-height: 20px;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px 0 0 2px;
    text-align: center;
    background-color: #fafafa;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box
}
.layui-label {
    width: 110px;
    padding: 8px 15px;
    height: 38px;
    line-height: 20px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}